package Dao;

import java.sql.SQLException;

import java.util.List;


import entity.CommentVO;


public interface CommentDAO {
	//添加主评论
	public void insert(String email,String wordname,String type,String contant) throws SQLException;
	//删除主评论
	public void delete(String email);
	//更改主评论
	public void update(String email,CommentVO xl);
	//查询主评论
	public List<CommentVO> select();
	//点赞主评论
	public void addlike(int CommentID);
	//踩扁主评论
	public void addhate(int CommentID);
	
}
